package org.xjk.alg;

/**
 * @author caozj
 * @version 1.0
 * @create 2024/8/19
 * @description
 */
public class Alg {
    public static long stringToLong(String str) {
        long result = 0;
        for (int i = 0; i < str.length(); i++) {
            result = result * 10 + (str.charAt(i) - '0');
        }
        return result%100000000L;
    }
}
